Migration guide: Updates
authorMatthias Clasen <mclasen@redhat.com>
Wed, 27 Mar 2019 06:18:36 +0000 (02:18 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 27 Mar 2019 06:18:36 +0000 (02:18 -0400)
docs/reference/gtk/migrating-3to4.xml

index 3a25b76ead4fdb5e92263e56dfb4ca80f2de8940..3e9ef096d66d087ecc685c5ec2423ffb59bb9aa4 100644 (file)
       </para>
     </section>
 
+    <section>
+      <title>Stop using gdk_pointer_warp()</title>
+      <para>
+        Warping the pointer is disorienting and unfriendly to users.
+        GTK 4 does not support it.
+      </para>
+    </section>
+
+    <section>
+      <title>Adapt to coordinate api changes</title>
+      <para>
+        A number of coordinate apis in GTK 3 had _double variants: 
+        gdk_device_get_position(), gdk_device_get_surface_at_position(),
+        gdk_surface_get_device_position(). These have been changed to use
+        doubles, and the _double variants have been removed. Update your
+        code accordingly.
+      </para>
+    </section>
+
     <section>
       <title>Adapt to GdkKeymap API changes</title>
       <para>